package com.sy.creation.builder;


public class Phone {

    protected String cup;
    protected String disk;
    protected String men;

    // 建造者模式 不设置setter方法，由建造者来设置属性

    public String getCup() {
        return cup;
    }

    public String getDisk() {
        return disk;
    }

    public String getMen() {
        return men;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "cup='" + cup + '\'' +
                ", disk='" + disk + '\'' +
                ", men='" + men + '\'' +
                '}';
    }
}
